package com.orange.core.config.alicloud.sms;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Getter
@Setter
@ConfigurationProperties(SmsProperties.PREFIX)
public class SmsProperties {

    public static final String PREFIX = "alibaba.cloud.sms";

    private String region;

    private String endpoint;

    private VerifyCode verifyCode;

    @Getter
    @Setter
    public static class VerifyCode {

        private String signatureName;
        private String templateCode;
        private Integer validTimeMinutes;
    }
}
